Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update text-area.less #6509

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Update text-area.less #6509

merged 1 commit into from
Jan 4, 2024

Conversation

Jarryxin
Copy link
Contributor

@Jarryxin Jarryxin commented Jan 4, 2024

删除 readonly pointer-events:none属性,解决 readonly状态下,超出不可滚动问题

fix #6508

删除 readonly pointer-events:none属性,解决 readonly状态下,超出不可滚动问题
@Jarryxin
Copy link
Contributor Author

Jarryxin commented Jan 4, 2024

fix #6508

@zombieJ
Copy link
Member

zombieJ commented Jan 4, 2024

话说 这个 pointer event 本来是用来干啥的,看起来 readOnly 也不需要禁用操作,是不是和 allowClear 有关系?

@Jarryxin
Copy link
Contributor Author

Jarryxin commented Jan 4, 2024

话说 这个 pointer event 本来是用来干啥的,看起来 readOnly 也不需要禁用操作,是不是和 allowClear 有关系?

TextArea 没有 allowClear 属性, readOnly 状态时,不需要修改 pointer-event

Copy link
Contributor

github-actions bot commented Jan 4, 2024

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6509.surge.sh

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (55b6cd4) 92.27% compared to head (20df529) 92.27%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6509   +/-   ##
=======================================
  Coverage   92.27%   92.27%           
=======================================
  Files         316      316           
  Lines        6897     6897           
  Branches     1728     1728           
=======================================
  Hits         6364     6364           
  Misses        497      497           
  Partials       36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zombieJ zombieJ merged commit 19d5a4b into ant-design:master Jan 4, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Textarea readonly 状态下,文字超过2行,无法滚动展示
2 participants